/* 基础样式 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  padding: 15px;
  max-width: 600px;
  margin: 0 auto;
}

h1 {
  font-size: 22px;
  margin-bottom: 20px;
  text-align: center;
  color: #07c160;
}

/* 表单样式 */
.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"],
input[type="number"],
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

input[type="file"] {
  width: 100%;
  margin-bottom: 10px;
}

.preview img {
  max-width: 100%;
  height: auto;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-top: 10px;
}

/* 按钮样式 */
.submit-btn,
.back-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #07c160;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  margin-top: 20px;
  text-align: center;
  text-decoration: none;
}

.back-btn {
  background-color: #666;
}

/* 订单列表样式 */
.order-list {
  margin-bottom: 20px;
}

.order-item {
  border: 1px solid #eee;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 10px;
}

.order-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.status {
  color: #07c160;
  font-weight: bold;
}

.detail-link {
  display: inline-block;
  margin-top: 10px;
  color: #07c160;
  text-decoration: none;
}

/* 订单详情样式 */
.detail-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.label {
  font-weight: bold;
  margin-right: 10px;
}

.detail-photo {
  max-width: 100%;
  height: auto;
  margin-top: 10px;
  border: 1px solid #eee;
}
